﻿@model RonYee.Models.Customer

@{
    ViewBag.Title = "信息修改";
    Layout = "~/Views/Shared/_LayoutOfSecondPage.cshtml";
}

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

    <div class="box_padding">
    <h3><i class="ui-icons"></i>用户信息</h3>
    <div class="box_top ui-icons"></div>
    <div class="box_bg">
      <div class="box_padding">
       <div class="border_line">
          @Html.HiddenFor(model => model.CustomerId)
          @Html.HiddenFor(model => model.AddTime)
          @Html.HiddenFor(model => model.status)
          <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tbody>
                <tr>
                    <td class="tdName">学号</td><td class="tdData">
                        @Html.EditorFor(model => model.CustomerNo,new { @class = ":required" })
                    </td>
                    <td class="tdName">用户名</td><td class="tdData">
                        @Html.EditorFor(model => model.Login, new { @class = ":required" })
                    </td>
                </tr>
                <tr>
                    <td class="tdName">邮箱</td><td class="tdData">
                        @Html.EditorFor(model => model.Email, new { @class = ":email" })
                    </td>
                    <td class="tdName">手机</td><td class="tdData">
                        @Html.EditorFor(model => model.Phone, new { @class = ":phone" })
                    </td>
                </tr>
                <tr>
                    <td class="tdName">学院</td><td class="tdData">
                        @Html.EditorFor(model => model.Colloge, new { @class = ":email" })
                    </td>
                    <td class="tdName">一卡通</td><td class="tdData">
                        @Html.EditorFor(model => model.CarNo, new { @class = ":phone" })
                    </td>
                </tr>
            </tbody>
        </table>
        
       </div>
      </div>
    </div>
    <div class="box_down ui-icons"></div>
</div>
@*@{
     if(ViewData["Message"]=="1")
     {
         <script type="text/javascript">
             alert('信息修改成功！');
         </script>
     }
 }*@                
<div class="line_top">
    <input class="Button1 ui-icons" id="Button1" title="Save" value="保存" type="submit" />
</div>
}
